<?php
function getMiniHelpHTML($page) {
    //if(in_array($page, array("input", "database", "subdivisions"))) {
	$file = "./GUI/Help/MiniPages/".$page.".html";
	$html = "";
	if(file_exists($file)) {
	    $html .= '<script type="text/javascript">';
	    $html .= "function popupW(url) {window.open(url,'Pagalba','menubar=no,height=600,width=800,scrollbars=yes');}";
	    $html .= '</script>';
	    $html .= file_get_contents($file);
            $html .= '';
	}
    //}
    return $html;
}

function getRelatedPagesLinksArray($page) {
    include $page."Related.php";

}
function getNewLink($page, $title) {
    return '<a href="input.php">'.$title.'</a>';
}
?>
